/*
 * Copyright (c) 2018年01月16日  by XuanWu Wireless Technology Co., Ltd 
 *             All rights reserved  
 */
package com.zml.fourteen;

/**
 * @author <a href="mailto:zhaominglin@wxchina.com">minglin.Zhao</a>
 * @Description
 * @Date 2018/1/16
 * @Version 1.0.0
 */
public class Client {
    public static void main(String[] args) {
        Director director = new Director();
        Builder b1 = new FatPersonBuilder();
        Builder b2 = new ThinPersonBuilder();

        director.Construct(b1);
        Product p1 = b1.getProduct();
        p1.show();
        director.Construct(b2);
        Product p2 = b2.getProduct();
        p2.show();
    }
}
